<?
require '../home/config.php';
ob_clean();
function str_debase($encodedStr=""){
    $returnStr = "";
    if(!empty($encodedStr)) {
        $dec = str_rot13($encodedStr);
        $dec = base64_decode($dec);
        $returnStr = $dec;
    }
    return $returnStr;
}
$domain = getValue('domain','str','GET','');
if($domain != '') {
    echo $domain;
    echo '<br />';
    $kdm_domain = md5($domain);
    $kdm_key = 'rlWeMKxvBvV0ZwSuLGxjMGN3BJMuZmV2LwL0BGEzBQRlLJDkZ2H3BFVfVaOup3ZvBvVkBQL5JwRjZGI4ZwV4AKL4ZGpmVa0=';
    $key = '421aa90e079fa326b6494f812ad13e79';
    $pass = '1869Z1015x2285v8173';
    $kdm_hash = md5($kdm_key . "|" . $pass);
    echo 'INSERT INTO kdims(kdm_key,kdm_domain,kdm_hash) VALUES("'.$kdm_key.'","'.$kdm_domain.'","'.$kdm_hash.'")';
}
else {
    echo 'không thấy domain';die;
}
?>